package com.zbs.framework.swagger.config;

import com.fasterxml.jackson.databind.annotation.JacksonStdImpl;

@JacksonStdImpl
public class ToStringOrIntSerializer extends ToStringOrIntSerializerBase{

    public static final ToStringOrIntSerializer instance = new ToStringOrIntSerializer();

    public ToStringOrIntSerializer() {
        super(Object.class);
    }

    public ToStringOrIntSerializer(Class<?> handledType) {
        super(handledType);
    }


    public final String valueToString(Object value) {
        return value.toString();
    }
}
